package com.rules.admin.entity;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rules.admin.json.Long2String;
import com.rules.admin.json.String2Long;
import lombok.Data;

import java.io.Serializable;

@Data
public class RecentlyPackage implements Serializable {
    private String packageName;
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )
    private Long id;
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )
    private Long projectid;

    public RecentlyPackage() {
    }

}

